package com.hebeu.gfh.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @Author: 刘剑利
 * @Version: v1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class TextVote {
    private int voteId;
    private String title;
    private String description;
    private String options;
    @JsonFormat( pattern="yyyy-MM-dd HH:mm:ss" , timezone="Asia/Shanghai" )
    private Timestamp deadline;
    private int moptions;
    private int clubId;
    private int userId;
    private int showOptions;
    private int type;
    private String optionsPhoto;
}
